const { Controller } = require('egg');

class HomeController extends Controller {
  async index() {
    const { ctx } = this;
    ctx.body = 'hi, fucker fucker';
  }

  // NOTE: new a news handler
  async news() {
    // const {ctx} = this;
    this.ctx.body = 'news to be done';
  }
}

module.exports = HomeController;
